package com.imooc.controller;

import com.imooc.filter.ExcludeUrlProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/g")
@Slf4j
public class WordController {


    @Autowired
    private ExcludeUrlProperties excludeUrlProperties;


    @RequestMapping("/in")
    public String startent(){

        System.out.println("----------------->>>" + excludeUrlProperties.getUrls());
        return "123456789";
    }
}
